package kr.hkit.powerjava.chapter8;

public class DesLampTest {
	private boolean isOn;
	
	public void turnOn(){
		this.isOn = true;
		
	}
	public void thrnOff(){
		this.isOn = false;
	}
	@Override
	public String toString() {
		return "DesLampTest [isOn=" + isOn + "]";
	}
public static void main(String[] args) {
	DesLampTest lamp = new DesLampTest();
	
	
	
}
}
